<template>
    <div>
        <div id="echart1" style="600px;height:400px"></div>
    </div>
</template>
<script>
import * as echarts from 'echarts';
export default{
    name:'page3',
    mounted(){
        var myChart = echarts.init(document.getElementById('echart1'));
        const option =  {
                xAxis: {
                type: 'category',
                data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
                },
                yAxis: {
                type: 'value'
                },
                series: [
                {
                    data: [820, 932, 901, 934, 1290, 1330, 1320],
                    type: 'line',
                    smooth: true
                }
                ]
                };
        myChart.setOption(option);
    }
}
</script>
<style>
</style>